package com.iotechn.unimall.data.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dobbinsoft.fw.support.model.Page;
import com.iotechn.unimall.data.domain.XHCouponDO;
import com.iotechn.unimall.data.vo.XHCouponVO;
import org.apache.ibatis.annotations.Param;

public interface XHCouponMapper extends BaseMapper<XHCouponDO> {

    Page<XHCouponVO> pageXHCoupon(IPage page, @Param("ew") QueryWrapper wrapper);

    Integer updateStatus(@Param("uuid") String uuid);

    Integer insertBatch(@Param("list") List<XHCouponDO> list);
}
